computeVolume function

Compute the Volume of a Specified Shift Range in a 2D Spectrum