Implemented Overflow Correction without Averaging

It still doesn't work!