High purity AlGaAs from methyl-based precursors using in situ gettering of alkoxides