code: public DataBuffer getUnderlyingIndicesOf(int i) {
          int from = underlyingRank() * i;
          //int to = from + underlyingRank();
          int[] res = new int[underlyingRank()];
          for(int j = 0; j< underlyingRank(); j++){
              res[j] = indices.getInt(from + j);
          }
  
          ///int[] arr = Arrays.copyOfRange(indices.asInt(), from, to);
          return Nd4j.getDataBufferFactory().createInt(res);
      }
docs: Returns the underlying indices of the element of the given index
  such as there really are in the original ndarray
  
  @param i the index of the element+
  @return a dataBuffer containing the indices of element