changes to Riemann solver, now has correct values for detal