how does a magnetic separator work for magnetite