The tale of the code janitor, part 4

--Removed a metric buttload of unreferenced functions from math.c. They
can be easily re-implemented on the small chance we need them again.
--Updated math.h to reflect math.c
--Fixed spacing/indentation to look better in movement.c