Maximal variety as a new fundamental principle of dynamics