use Simpson's rule e^(-x^2) from -infinity to infinity with 2 intervals