fitting functions updated
initialFitProducer now works with fitbuilder class