Adding partition level mapEdges and mapTriplets. This is necessary to support computation with random number generation.
slightly more efficient map operation
Merge pull request #127 from jegonzal/MapByPartition

Adding mapEdges and mapTriplets by Partition