Integrate a function on a rectangular 3D grid
integrate3D(f, argvals)
f
: A 3D array, representing the function evaluations on the gridargvals
: A list with 3 elements, representing the grid points in the first, second and third dimension of fThe result of the numerical integration of f on the given grid.