My math classes for 2D and 3D stuff...