Added Comments and Changed Riemanm Sum Method

Added some comments and changed to trapezoidal rule for integration function. No longer creates lists in integration function. New integration method not yet tested.