used wrapper in each routine in __quadpack.h. Passes unit tests (still want to verify this is doing what I think it is)