FlxMath: move variables to the top