Design optimization of shape memory alloy structures