added log-det method for sparse matrices in CStatistics