Fixed bug that spanned problem_function, initialize_surrogate, and sparse_grid_build