Moved Vector2d to its own module