Module for brute-force calculations of the discrete Fourier transform and inverse discrete Fourier transform.