Multidimensional integration in SciPy