Simple model of shock-wave attenuation in snow