Moved convert_real function to fourier_transform header.