Application of Ultrasonics on Preparation of Magnesium Alloys