changed readFile to have same format as generateData. Made function to run softmax on the written data vs the generated training data