Modeling & Control of Multi-Arm and Multi-Leg Robots: Compensating for Object Dynamics during Grasping