Computes vector arithmetic, dot products, and cross products.