adds vertex truncation

method signature to be debated...
test coverage for local vertex truncation
adds global vertex truncation

optional parameter for amount of truncation
correct typo in global truncate
call it TruncateVertices
forgot to update the test as well. whoops
remove redundant code from truncation
Merge pull request #25 from pearswj/truncate-vertex

adds vertex truncation, global and local