RF: added a threhsold to the sigma plot
RF: turned debug mode off