Fixed adherence calculation. Changed parameters names.