Added fit_regularized, removed solution path code for separate PR