remove c-style calls to fabs