Modify the matrix class to keep track of both memory and communication resharding costs for a given edge as part of one matrix object.
Modify the matrix class to keep track of both memory and communication resharding costs for a given edge as part of one matrix object.
