Riemann sums with sigma notation