first two parameters define matrix row and column respectively, stuff like X, Y, Z are irrelevant for matrices. I guess you won't use the same approach for vector and its at() method?