Stability Analysis and Control Design for an Underactuated Walking Robot Via Computation of a Transv