Homogenization of non-periodic masonry structures