Calculate angle for a given joint and limb
Calculate angle for a given joint and limb