added math flag and switched from -O3 to -O2 for increased speed
The math flag may be a bad idea, but since I'm only doing limited and basic
math, I hope I won't see any problems with it.