KINEMATIC AND DYNAMIC MODELING OF A SIX LEGGED ROBOT