Improved method for estimating static formation temperatures in geothermal and petroleum wells. (September 2015)