Added GetPrimeFactors.