A tutorial on the two-state model of the atomic clock noise