[MF] pair-wise smooth cost to LM and GC

lm - levenburg-marquardt algorith
gc - graph cut