fork of the cubature library for adaptive multidimensional integration