Numerical Integration Midpoint Rule