Create thresholding.hoc