progress on p_WIM2d.F

added and linked attenuation code