Fatigue Analysis of Nitinol-Based Mechanisms