A Model of Stability of Slopes