Fix for Peak Level being incorrect.

Math is incorrect with out this change, peakLevel (a number between
0-1) almost always converts to int 0