Fixed the initialization of 2D static array in viterbi impl