Small refactor Cholesky checks