Adapting the code to higher versions of python and numpy
This tag has no release notes.