Simplified the fit method.

Made sure fit_loc_scale method returns finite values in order to avoid failure in the fitting of the distributions