Capacitated Min Cost Flow

Had to do a bunch of modifications to do capacitated min cost flow;
first pass complete.  Testing to follow.