You've used PESQ algorithm and your code looks like you've refactored original code from ITU-T Recommendation P.862. This algorithm has patent restrictions. I can't leave here notice from their code due to text size restrictions. I consider it unfair that some participants ignore licensing restrictions on the use of algorithms for participation in the competition, while others follow these restrictions.
The user cannot:
1. alter, duplicate, modify, adapt, or translate in whole or in
part any aspect of the PESQ Algorithm and or PESQ Software
2. sell, hire, loan, distribute, dispose or put to any commercial
use other than those permitted below in whole or in part any
aspect of the PESQ Algorithm and or PESQ Software