Using natural travel paths to infer and compare primate cognition in he wild