Add numeric integration using Simpson's method.