'Return the maximum distance penalty (normalization factor).'

@property
def max_distance(self):

    dist_max = 0.0
    for (key, penalty) in self._penalties.items():
        dist_max += (len(penalty) * self._weights[key])
    return dist_max
