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 8th of May from 18:00 to 20:00 we will be performing maintenance on GitLab. During this time the service will be unavailable, apologies for any inconvenience.