added vector-based matrices