fixed bug listed in last commit. I now use a dictionay as the cv_params.