added Q matrix to vertex objects