crop_vol function

Crop a 3D array