Add a .as_numpy() method to the ndt.type object