Asymptotic analysis of torsional and stretching modes of thin rods