how does a mineral flotation machine work