fixed bug in broyden mixer