A Closed-Form Numerical Algorithm for the Periodic Response of High-Speed Elastic Linkages