BUG: in loop for i less then NMODALITIES
Merge branch 'master' of github.com:stnava/ANTs
...