Non Linear macro-element dynamic analysis of masonry buildings