experimental integration with apache commons math