added appendidx for derivation of the new entropy residual as a function of total pressure (material + radiation) density and sound speed