model_select function

Fit multiple models and select the best fit