Swap floats for doubles for a speedup
Whitespace cleanups