implement shared mem in fftx and ifftx
BUGFIX: use #defined constants
synchronize after setting up shared memory
implement shared mem for ffty and iffty
Removed redundant FLOPs
Merge branch 'shared'