Implemented criteria average calculation