fixed bugs, charge det. correctly, fft wrong...