fixes in log-det sampler
Merge pull request #1504 from lambday/feature/log_determinant

fixes in log-det sampler