Added a truncate function to Vector Module. Based on this article: http://blog.signalsondisplay.com/?p=336