adds ntp algorithm to calculate clock skew