Adding ability to tridiagnate as well as solve for steady state in non-linear regimes