added some helper methods to RMax and a standard way to clone the value ...

...function from a value function planner