if user wants to match class file to t1 in mgz format rather than t1 in nifti format, then covert t1.mgz to t1.nii.gz as well as converting ribbon to t1 class file
if freqdim and phasedim not set in nifti, then set them to 1 and 2 <but dont save
upper case <none> changed to  lower case to resolve some bugs with filter functions
rather than reading into view structure, call viewGet instead
move the setting of UserData to outside the loop over scans, otherwise the user data gets written over in each pass through the loop
when reading parfiles, check that each line read in from the file has the appropriately formatted data - specifically, numbers in the first two columns. If not, break out of loop and avoid errors
add aliases for <meshn> including <meshnum> and others
bug fix: some instances of <view> swapped out for <vw> for consistency with input variables
when plotting fft of time series, make sure we are restricting time series to only those frames used for coranal