SMS dit: Electronic and optical properties of conjugated polymers