Fixed the worse than stupid monkeys algorithm.

Bug was: accumulating reward, not averaging it.