fixed the output to work properly for images other that dwi data. This was briefly broken by a past update but now is fixed
Merge branch 'master' of https://github.com/vistalab/vistasoft