Fixed bugs, added 3rd knee