mgc.distance function

Distance