The delta method is better IMO.. I wouldn't mind working on it, but Java ain't my bag..