Added a linear version of the model