Merge pull request #126 from jegonzal/FixingPersist

Fixing Persist Behavior
Adding partition level mapEdges and mapTriplets. This is necessary to support computation with random number generation.