Tweaks parameters for peak detection