Dimensionality Reduction For Fmri Diagnostic Systems