Molecular Simulation with Discrete Fast Fourier Transform