Majorpeak in fft

The code will show what variables are holding the real and imaginary values, these you supply to the library on instantiation I believe.

Phase is meaningless unless the sampling is synchronized to something. Perhaps all will be clear from the code.