A new federally funded research project at the University of California, Davis, endeavors to extract valuable components for magnets, lasers and other modern technologies from an unlikely source: acidic wastewater from mines and industrial processes.