Axial Vibration Confinement in Nonhomogenous Rods