Merge pull request #28 from sethzenz/dev_vertexvalidation

Vertex validation code changes