NF: allow dataset to be a simple numpy array