modification to grid quadrature so that the quadrature points are the mi...

modification to grid quadrature so that the quadrature points are the mid-points of each interval, as opposed to the ends of each interval.