version no funcional::: CHOLESKY