Calculation And Modeling Of Rigidity In Conjugated Polymers