Bugfix for sample range error in zcall evaluate_thresholds; edited relevant comments