minor typo abs->fabs