Adding Riemann_kernel .. need to fix check_accs in code gen