added method to keep track of rewards accumulated during training trials