updated polyfit_cv