check that the type is indeed a Numpy one
This is in response to #51