OPTICAL-PUMPING OF METASTABLE MAGNESIUM IN AN ATOMIC-BEAM