Time In State Matrix