Mathematical Modeling and Analysis of Torsional Surface Waves in a Transverse Isotropic Elastic Solid Semi-Infinite Medium with Varying Rigidity and Density under a Rigid Layer