added output of residuals, option for inviscid flux jacobians