Chemical Fundamentals of Geology