Adds method to specify a general rectilinear volume to the surface, and fixes a bug in Misc.cerp().