Fix for github issue #520: numba function removes imag part of numpy.complex64 type
Add test
Merge branch '520-fix'