Exploiting Polymer Theory To Simulate The Rheology Of Micellar Solutions And Polymer Glasses