Add exponential fourier series code