Use Vector3d for XY coordinates

As we can use the Vector3d class as well for XY coordinates (with Z set
to 0), I changed our Vector2d resources into Vector3d resources, so we
don't need the Vector2d class anymore.