Modeling Phonons of Carbon Nanotubes and Carbon Nanowires