Cleanup outdated code
After trying to run mypy I found outdated code, left from the py2 and optianl support of Numpy. Cleand a bit, what I found
Edited by Yury Matveyev
After trying to run mypy I found outdated code, left from the py2 and optianl support of Numpy. Cleand a bit, what I found