Optimization of shape memory alloys for use in electrical connectors