how does the magnetic ore separator work