function of magnetic separator for coal processing