Added a C++ callback when fft is done