Corrections for grazing rays in 2-D seismic modelling