Bipedal locomotion using geometric techniques