Geotechnical Analysis of Foundations