Finished implementing subproblems division. Getting to repair once and for all the fitting procedures.