https://tresorturf.net/analytical-numeric-stability-framework/