lammps.numpy wrapper functions will now return None in error cases instead of throwing exception with NULL pointer access errors. If nelem or dimension is zero it will return an empty numpy array with the correct shape.