updated RMax Action to new requirements of implementing the getTransitio...

...ns method and also added another constructor for RMaxPotential