Update dead material correction arithmetic to better match firmware implementation
Changes the way the eFEX dead material correction is applied to correspond better to the firmware implementation. Fixes 99% of the mistmatches observed in monitoring tests (remaining most likely have other causes).