A Rigid-Beam-Model for studying the dynamic behaviour of cantilever masonry walls