Fix isodata-thresholding according to Zachary Pincus

True :-)