Update hmm_util.c

modifying generateCountmat