Added vector utilities.
Added unit testing.