Modeling of the deformation of elastic pads for rail fastenings