Add simple temperature calculation