Updated distance function