Latest version of the vertex-track matching validation plugin

As agreed, here is an up-to-date working version. If it improves over the course of the day, will send you an new pull request.