Fix some bugs, required after swapping the y-axis (see previous commit)
Add tVector and tMatrix types
Cleanup cFollowSegment