Fundamentals of soil mechanics