Dynamic analysis of church masonry