Changed comments in math.c to doxygen format
Moved unused functions to unused.c and unused.h for ease of understanding