Title: Polynomial and Fourier curve fitting