added to riemanntheta_demo