Basic 2, 3 and n-dimensional algebra for computer physics and graphics.