added spaces to markov matrix and made output matrix file have everything on a new line