New Methods for Inferring Past Climatic Changes from Underground Temperatures