dcFit function

Internal function for iterative model fitting with data cloning