fixed is_numeric_batch() to recognize CudaNdarrays

is_numeric_batch() didn't recognize CudaNdarrays as being numeric batches. This was causing some implementations of np_validate() to crash inappropriately. Fixed.