Fail after some maximum number of steps.
Merge branch 'master' of https://github.com/ketch/nodepy

* 'master' of https://github.com/ketch/nodepy:
  Correct DC method construction (use correct value of theta).