Experimental code for implementing thresholding

This code tries to see how PointSets could be used to implement
thresholding.