Fix frequency evaluator: replace first harmonic search with max autocorrelation search