Reworked the distance calculation using actual frequencies