Set Parameters for the fitting functions using cfg file