Improve quality of performance measuring (based on suggestions from http://codereview.stackexchange.com/questions/68443/find-binary-sequences-with-low-peak-sidelobe-level-of-autocorrelation-function).