Closes #1 - Template argument now work.

Due to this being a fft example, the only usable templates are double and float. But hey, it works!