how do mechanical flotation machines work