Make the bisection search only when necessary and add the swap of lists for the 2nd and 3rd steps so that we don't have to redo the first step
Fix problem with compareCandidates if detector 1 outliers are near but outside the range of outliers in detector 2 and cleaned up commented code
Added test function cleanLines(), moved line detection up (changes nothing, just reorganizes), output of printSignalData is now mean PSD, and fixed compareCandidates