Assimilation of wave data into the wave model WAM using an impulse response function method