Set up Mat2d and Vec2 classes