The Mind-Blowing Math Behind Fourier Transform