First version that computes angle between limbs