Added log-determinant method for sparse matrices in CStatistics class