Update simpson.cpp