Analysis of tensegrity structures with XC