More stable inverse for lin regression using linalg package. Still need to review Cholesky or QR decompositon. Might be difficult to do online.