Re-arranged options and cosmetic changes
Re-arranged options and cosmetic changes

options are grouped by function now and --help prints them in these
groups.

Rest is all cosmetic changes to code.

KuperbergLab/MRI_scripts,KuperbergLab/MRI_scripts,KuperbergLab/MRI_scripts,KuperbergLab/MRI_scripts