Renamed Vec2D to Vec2DPrecise, completed its unittest and used its interface for parameters and returntypes.