integrate3D function

Integrate a function on a rectangular 3D grid