Changed residual flow to be capacities - flow