A nonlinear macroelement model for the seismic analysis of masonry buildings. (22nd July 2013)