Fixes some outstanind float literals. Also made some improvements to
methods of MathUtil class based on @ToxicBakery's suggestions.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>