adding matrix as storage data structure to the hmm as well as to the viterbi sequence labeler. adding insertion and retrieval method to matrix also for lists.