mex file to implement fourier expansion faddeeva
try icc as well as g++
compile fourierw.cpp with mex through the interface fourierw_mex.cc