Generate standard 2D and 3D transformation matrices for rotation, reflection, and shear. Apply them to a point and visualize the result.