Moved MRImage reading code around. Finished smoothDownsample.