Wrote the getFFT function, updated plotData function