fit function

Extracting Fitted Models