upgraded to apache math 3.3