An analysis of the grain refinement of magnesium by zirconium