function r = getReward(task,action)

r = task.means(action) + randn(1)*sqrt(task.vars(action));