Analysis and Design of a 1-DOF Leg for Walking Machines