function of magnesium aluminate hydrate and magnesium