FIX: fix regression test on matrix inversion
DEV: first step for AD
DEV: Add bissection solver