Trying to diagnose segfault with FFT lib