Corrected some spelling stuff.

Changed "treshold" into "threshold", all occurrences of course - respectively their notation.