Matlab MCMC wrapper tasks