Added the fabs function.
modified makefiles to take into account headers.