Cleaning of Wastewater Using Crosslinked Poly(Acrylamide-co-Acrylic Acid) Hydrogels: Analysis of Rotatable Bonds, Binding Energy and Hydrogen Bonding