Surface wave inversion for a p-wave velocity profile: Estimation of the squared slowness gradient