Fundamentals of Thermodynamics and Statistical Mechanics: Second Edition