Richard Dwight's sparse grid (Smolyak) and Sobol index code for integration and interpolation