Gravar-mail: Homogenised limit analysis of masonry walls: part I: failure surfaces