Analysis of tensegrity structure subjected to dynamic loading using state space