Simple 2d vector class