Fix isodata-thresholding according to Zachary Pincus

Fair enough. =)