nanshe/expanded_numpy.py: Added an assertion to expanded_numpy.norm to ensure it has some dimensions.
nanshe/expanded_numpy.py: Added code to expanded_numpy.norm to ensure it handle the case of an empty array with shape.