An Improved Fourier Method for DNA Sequence Classification