More accurate temp calculation