bugfixes in log-det framework
Merge pull request #1208 from lambday/feature/log_determinant

bugfixes in log-det framework