Fitting code for RazorCombinedFit