added plot of auto-correlation of states