 The diagonal entries of the rate-matrix (the "Q" matrix) represent -1 times the rate of leaving each state.For time-reversible models, we know the equilibrium state frequencies (these are simply the π"i" parameter value for state "i").Thus we can find the expected rate of change by calculating the sum of flux out of each state weighted by the proportion of sites that are expected to be in that class.