analytical calculation of slope stability