Please use the version available at https://github.com/WTCN-computational-anatomy-group/Patient-Preprocessing