Fourier analysis of the g/f functions

Signed-off-by: Nicolai Hähnle <haehnle@or.uni-bonn.de>