make sure the zero value parts are of the demag kernel are allocated to NilArray
support zero value parts (with NULL pointers) in tensor by vector multiplication