Add matrix interface