Fix some class constraints in FFT.
Change type of storePull to make it more general
Add code generation for popCount
Add a convenience function for running FFT