Added a first working version of riemann_sum.m. Bits of dead code and stuff. No comments yet.