Geometric Control of Multi-Agent Systems and Robotic Manipulation