put the class outputs into an array, which I then wrote to a file to later try to plot