adding a minimum to the water vapor so that the log will give all valid outputs