Converted fft files to C++.

Change-Id: I33609cb7019b216f1f675110ecc37bdd882dcfa5