Re-wrote atmospherics code.