Using multi-dimensional Smolyak interpolation to make a sum-of-products potential.