Integration using Simpson's rule