https://9lib.org/document/y8g3od0z-stability-margins-adaptive-mixing-control-lyapunov-switching-criterion.html