MATLAB wrapper to the max-flow/min-cut algorithm by Boykov and Kolmogorov: interface with dynamic cuts