rare earth elements flotation optimization