experimenting with apache commons math