dot product formulation of the objective function
tightening up flow conservation domain
Merge branch 'master' of https://github.com/ChrisSandison/csc373
correcting the subscript on the loss coeff