adding U as argument, instead of computing it incorrectly from supplies
updating capscaling.py to compute and supply the bound U to cvx cost flow problem
adding some convenience and error checking