Added linear least squares.

Added seciton for linear least squares using the QR decomposition.