Kinematic and Dynamic design of Humanoid Robots