adding outprint of last transitionmatrix and initialdistribution
saving transitions matrices and initial distribution on txt file