how does a magnetic iron ore separator work