Slight changes to the apache commons math imports and usage.