Some functions here are no longer needed, since we now have newer versions of Jython (we were at v2.2 when I started this). But, I did manage to squeeze in a simple linear and polynomial regressions.