Objective-C implementation of the Adaptive Simpson's Rule.