A Potential Energy Function for GaAs Systems