On the Use of the Undulating Elastica for the Analysis of Flexible Link Mechanisms