Feature fourtech

Adds support for representing smooth and periodic functions using Fourier series.