Modelling the seismic response of an unreinforced masonry structure