Use QVector as the data container in Matrix