mgc.dist.xfm function

MGC Distance Transform