An economical method for calculating the discrete Fourier transform | Synapse