Influence of variable moments of inertia in internal rotations in butane, pentane and hexane