how wave phase cancellation works