add trapezoid method to Integral.as_sum

The function being integrated was simplified so the ouptput
could be more easily tracked. The docstring was condensed a
bit, too.
point out advantages of certain sided rules
Merge pull request #1880 from smichr/trap

add trapezoid method to Integral.as_sum