fix bug in __setitem__() which was copying matrix to root instead of /data