much cleaner inclusion of numpy methods, now also works for take,
transpose, compress, etc...