Quadruped leg design principles for handling slopes or high