Integrate the RT fMRI feature in the feature branch

This mainly integrates @chamberm RT-fMRI code into the new feature branch.