Adding function to calculate Doppler from time difference of carrier phase.