Effect of Stress, Heating Rate, and Degree of Transformation on the Functional Fatigue of Ni-Ti Shape Memory Wires