Updated the example POMDPs according to the API change (additional parameter for reward functions.