Max Flow Min Cut Matlab