refactored log-det and computation framework
COCG linear solver fixed, unit-test modified (log-det)
modular interface updated (log-det)
Merge pull request #1586 from lambday/feature/log_determinant

Refactored log-det and computation framework