A.A. Agrachev, S.A. Vakhrameev, Nonlinear control systems of constant rank and bang-bang conditions for extremal controls