Fixed the update calculation, harmless bug.

Preparing to run multiple tests for discount factor.