Fixed thresholdDistance documentation