A generalised damage model for masonry under compression. (July 2016)