how iron ore magnetic separator works