added shape and dtype attributes to Dataset class