Least Squares In Matrix Form