Add infrastructure to compute the match between Waveforms

Using Triton code as a basis, this patch modifies the WaveformAtAPointFT class and associated utilities needed to compute the match between two Waveform objects.