How to calculate the degree of an existing elbow.