Addded a linear model for linear regression.