Fix a little bug
Adapt default some default parameters
Change the threshold value to 1*rms