added model for linear and ridge regression