The Connection between Dopamine and Running Average