seperation of minerals from their waste