bug in cropping of masks, does not deal well with masks that have already been cropped; added metrics to characterization