Changed mySpectrum and dataPlot from arrays to lists (dynamic)