Wrote the global methods and dot method for Vector2D