Change in the fitting function: Now I use the cumulative LF instead the single LF