fixed compilation error in absense of eigen3
Merge pull request #1302 from lambday/feature/log_determinant

fixed compilation error in absense of eigen3