Compute 2D and 3D vector operations: addition, subtraction, dot product, cross product, magnitude, and angle between vectors.