Title: Fast polarity correlation using zero-crossing times for flow measurement and signal processing