Implemented stopping criteria and chaining of benchmark functions.
Closes #158 (closed)
Changelog: feature