MATLAB code for calculating and rendering inverse kinematics of a tensegrity spine, based on the standard Flemons spine model.