fixed our reward function and David fixed many LP things that his computer won't let him commit.