Direct method of calculation of dynamic effective charges: Application to GaAs | Synapse