min_dist.mesh function

Compute distance between a point and a mesh