implemented trapezoid and Simpson integrals

maybe just call it trapezoid? and people can call it using integrate.trapezoid, etc.