Made functions in FlxMath Float-compatible