Random Field And Homogenization For Masonry With Nonperiodic Microstructure