Add CV_ensemble and CV_single_model functions