I have 3D joint positions that make up a wrist, an elbow and a shoulder of a skeleton model. Using these xyz positions, I need to calculate the rotation of the elbow joint,