Hmm. I believe I went over this code a couple of times; also with a guy who does numerical analysis in Java; just to be sure.

I'll check it again though.