added graph cut and unit-test

Let's remove ITER_COND_MODE, MEAN_FIELDs, since they are not MAP inference.