how did magnetic ore separator work