Understanding the nonlinear dynamics of beam structures: A principal geodesic analysis approach