Fix some calculations for the reverb buffer