how do magnetic ore separators work