Fix numpy type alias deprecations
- Since numpy 1.20 aliases for built in types have been deprecated (see https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations)
- This commit fixes the type aliases to use builtin Python types instead.
On the 22nd of January from 18:00 to 20:00, We will be upgrading GitLab. During this time the service will be unavailable, apologies for any inconvenience