Fixed locale setting for non-POSIX platforms.
Regression fixed.
Test adapted to Jython 2.5.2.
More general numerical derivative code. Should not really change anything for programs.
Tests adapted to Jython.
More precise comment.