Clostest vertex computation.
Given a list of vertices and a point, return the indice of the closest vertex.