Added vector math functionality.