Clean up syntax in Vector class

Part of a larger effort to update syntax to follow the new style guide.