A General Solution for Estimating the Safety Factor of Bimslopes