Stress Magnitudes From Logs: Effects of Tectonic Strains and Temperature