implemented trapezoid and Simpson integrals

could you delete this?