Found and fixed an error in segmentation where the wrong transform was being used during resampling. Also introduced a new, useful error message in group analysis.