attempt to fix memory snafu in hmm._accumulate_sufficient_statistics by replacing call to logsumexp with new method _matrix_log_sum