Design of Capra-a quadruped robot with improved agility