Fixed the signature of riemann_sum.m