It would be great if someone could implement [Simpson's rule](https://en.wikipedia.org/wiki/Simpson%27s_rule) Also consider adding a test to make sure it is working properly.