made changes to sparse_grid_convergence.py to use cpp sparse grids