Changes to a custom Vector2() implementation for performance reasons