Matrix coding Vectors