1. A machine-implemented method for phase-aligning a first waveform to a second waveform, the method comprising the machine: (a) dividing the first waveform into a plurality of first sub-waveforms; (b) dividing the second waveform into a plurality of second sub-waveforms, wherein each second sub-waveform corresponds to a different first sub-waveform; (c) independently phase-aligning each first sub-waveform to its corresponding second sub-waveform at a sub-waveform level; and (d) combining the plurality of independently phase-aligned first sub-waveforms to form a combined waveform.