added check for backward movement. don't always want to reward backward movement. Also cleaned up training 1 so that adding a delay does not mean automatically adding more reward