Working with FFT to develop some new distance metrics.