Added linalg.py, containing rotation matrix code.
Added code for plotting lines between pairs of points. Updated tests.