Remove MAT dependency in includes, rename logdet(chol) to mylogdet to prevent export