Added class Mask3D for 3D array masks, and DICOM mask loader