Add midpoint rule for approximation
Allow converger function to accept argument approx_func. Make logging message generic
Update tests