Fundamentals of Rock Mechanics