bug fix fitting_functions.py