src: added untested distance functions, geodesic paths for a whole mesh