Upgrade commons-math from 2.2 to 3.2

Note that the artifactId and version string of the dependency changed.