Fixed bug bugs involving data length for FFT's and added delta vector
functionailty. Began work on computing a threshold for peak detection.