A numerical model for multi-leaf stone masonry