Fix a abs(double) that can lead to compiler problems
My compiler was complaining about the abs() with an argument of the type double. Therefore changed it to fabs().
My compiler was complaining about the abs() with an argument of the type double. Therefore changed it to fabs().