some whitespace fixes in vertmode.m
added much better input processing. Turns out the algorithm only works with positive Z values such that diff(Z) > 0. I now set this properly
if flipping inputs, then flip output too - vertmode.m
Merge branch 'master' of github.com:dcherian/tools