Atomic Structure and Microstructure of Materials: Stress-strain curve in polymers