The Velocity of Sound in Rocks and Glasses as a Function of Temperature