Broyden's method v0.1