Update hmm_util.c

debugging generate countmat