calculate quality (without debbug)
Merge branch 'pmg' of https://github.com/Heigvd/Wegas into pmg