Bayesian Learning Methods For Modelling Functional Mri