Adding some vector operations to the Vector class