extractData function

Extract data or residuals from a fmridata object