Merge pull request #1235 from lambday/feature/log_determinant

added sparse-matrix linear operator in log-det framework
minor changes in log-det