Make periode detection more noise resistant, but can't detect periodes on less than 3 samples.