More documentation done. Removed the apache commons math dependency.