Slow Fourier Transform https://en.wikipedia.org/wiki/Tide-Predicting_Machine_No._2