Finite Element Analysis in Geotechnical Engineering: Theory