Functional fatigue of NiTi Shape Memory wires for a range of end loadings and constraints