added fourier sum example
minor fix