Preparing the ND4j dataset