- Created a distance function, it will be usefull.
- Mesh point insertion now picks the closest point to it, instead
of the end of the list.