learning riemann