https://9dok.org/document/y963j18r-tests-for-cyclic-variation-sinusoidal-curve-fitting.html