Added exponential smoothing to ping calculation.