Added lapack routines for calculation of condition number and to fill out the QR factorization capability.