ols.fit-methods function

Fit a linear model