Fast algorithm for inverting structure parameters of the horizontal multi-layer soil