FittedModel function

Creating FittedModel objects