fit function

lcMethod estimation step: logic for fitting the method to the processed data