Implementing and Applying a Continuum Bed Joint Shearing Model for Masonry Structures