Change in Calc Algorithm

Instead of just computing difference, now doing average with total RAW