A Time Finite Element Method for Dynamic Analysis of Elastic Mechanisms in Link Coordinate Systems