The Influence of Shape Memory Alloy Ties on the Seismic Behaviour of Historical Masonry Buildings