A first principle pseudopotential calculation of the elastic shear constants of magnesium