Rename vector to mat.