added frobenius norm and lDU factorization