Working on filtering out noise spikes, not finished yet