some improvements in IsPrimeZeroDim and installed a new function PrimaryDecompositionZeroDim