Upgrade commons-math 3.1.1, close #990