converting to setting coef after the fit has been made