https://www.johnkay.com/ergodicity/