Fourier Synthesis with Cosine Functions