If you don't get this to work, there's always newton, which is much more stable.