Adding transpose_matrix, since MFPT is starting to house all the heavy lifting transition_matrix code.