Numerical investigation of a material model for stone and masonry structures