fix bugs in pyDive/ndarray/factories.py