* added factories for the PrimalAlgorithms