Calculates the critical depth for failure of an infinite slope
The stability (safety factor) of a undrained cut or built slope.