Modifications to the ECMWF WAM code