added flow and cap matrices to flowgraph, edmondkarp, test