starting to port sparse_grid_convregence.py to use c++ cross validation as it comes online