AM-DMC-AMPS Multi-Functionalized Magnetic Nanoparticles for Efficient Purification of Complex Multiphase Water System