It looks like you need to paint wieght to your vertices. Look up painting wieght in the help files , but basically each vert has to be influenced by a perticular joint and you have to make sure that each vertices is influenced by the right joint to give you the correct deformation. I believe Mike Mckinley has a tutorial demonstrating this at his site https://www.mtmckinley.net/