Dynamic Reconfiguration of Robotic Swarms: Coordination and Control for Precise Shape Formation