math fix for averaging predBgDelta and predARDelta