SMS: The discrete fourier transform