Fixed stopping distance calculations.