Andrei Agrachev: Sub-Riemannian geometry of osculating curves