Upgrade commons-math to 3.2

This patch upgrades dependency on commons-math from version 2.1 to 3.2.

Issue: HADOOP-8425