Vector2d class to create physics calculators or implement a coordinate system