Merge pull request #4 from HemEM/master

some improvements in IsPrimeZeroDim and installed a new function PrimaryDecompositionZeroDim
Some smaller corrections in IsPrimeZeroDim.

Put the local variables in correct order.
Corrected the bool variable. It didn't work with values 'true' and 'false'.