Create ergodicity

Work in progress