map() returns iterator in py3
Explicit integer division in fft tests
Merge pull request #78 from untom/py3compat

Fix testcases failing in Python3.