Commented and removed old code riemann_sum.m. Added riemann_sum_type. witch takes a lower, middle or upper argument.