Switch from FloatMath to Math

As per discussion in #485, I replaced all FloatMath method calls with equivalent methods in Math.