Measuring Phase Shift Between Two Signals