Added support for simpsons method
Added support for simpsons method