Add documentation for distance_measurement