Replace ambiguous abs() with fabs() so it compiles natively on OSX 10.9

See http://stackoverflow.com/questions/1374037/ambiguous-overload-call-to-absdouble for the most simple solution