method initA() from hmm.m is fixed