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.