Added finding nearest posotion when moving a vertex