update the document and test file for cholesky decomposition