Calcul des rotations des nœuds