ENH: Add correct logdet for pos. def. matrices.
BUG: Deprecate logdet with incorrect pos. def. check. Closes #2087.
REF: Do not use deprecated function internally.
Merge pull request #2089 from jseabold/fix-slogdet

BUG: Fix pos. def check in logdet