Added FFT library and sample transformation, not tested!