A couple of numerical methods and a pretty good function derivative abstraction