Riemann Matrix