A Semiparametric Statistical Approach To Functional Mri Data