Quality calculations

Next things we need to do are calculating the right quality at the elevator agents and selecting the elevator with the highest quality at the manager side.