code: public static INDArray concat(INDArray[] history) {
          INDArray arr = Nd4j.concat(0, history);
          return arr;
      }
docs: concat an array history into a single INDArry of as many channel
  as element in the history array
  @param history the history to concat
  @return the multi-channel INDArray