Nedmag, a magnesium mining company, phases out its use of natural gas and replaces it with a mixture of biogas, solar and wind power and hydrogen.