Truncate Function on Vector Module

Add a 'truncate' Function to Vector Module, based on this article: http://blog.signalsondisplay.com/?p=336

Comes in hand for steering calculations.