Stochasticity from function - why the Bayesian brain may need no noise