Surface Wave Inversion for a P-wave Velocity Profile via Estimation of the Squared Slowness Gradient