Controllability Analysis for a Herding Problem