Put the old stability functions back, similar to ECMWF