Fixes the overflow issue for file with 10dB gain.
[x] Fixes the overflow issue by using 64-bit operations in for loop and then using the MSB for further calculations.
[x] Fixes the overflow issue by using 64-bit operations in for loop and then using the MSB for further calculations.