fixed compositeTensor:sub/index. And classtensors share self._classes table.
fixed datatensor:index
dataset:sub(),index(). Added dataset unit tests