Change FFT to FFTW3, few fixes and additions

Check www.fftw.org for information about FFTW
Normalizations added

Few renames and few fixes
Added copies of the functions that operate with arrays.

Also a few renaming variables.
Ref calculating works right, now

Few changes (requires more)
Refactoring main file and fixes