distFunc [IDistanceFunction]:
Gives the distance to the boundary i.e. the targets