Fixed memory bug in cloning Concrete Rpls and did some code conformance conversions in Rpl.h/.cpp