Swedge : probabilistic analysis of the geometry and stability of surface wedges (Rocscience, 1986)