minor changes in log-det
Merge pull request #1656 from lambday/feature/log_determinant

minor changes in log-det