made major changes to cross validation routines. Still need to correct test that iterates over cv_params_grid. It is currently failing. I am not sure if I have constructed the test correctly though