fixed an error i caused to mahmoud's work
Merge pull request #164 from DinaSaad/C1_Beshoy_CalQualityIndex

fixed an error i caused to mahmoud's work