Added ridge option to fit_regularized