Considering his comment at the end about using the Colt matrix libraries, I wonder if he knows about incanter?
http://github.com/liebke/incanter/blob/59c13e05e3242e4491f9d...
http://github.com/liebke/incanter/blob/59c13e05e3242e4491f9d...
I was initially going to build my algorithm using its libraries as a base but I thought a simpler first step would be to write it without pulling in too many extra dependencies.