Trapezoidal Method | Error Correction

Fixed a minor iteration error. The previous function was one iteration
short of a complete integral thus resulting in a slightly smaller than
actual integral value.