Cyclopolymerization and Conformation of Dimethacrylamides in Polymer Matrices