matrix demo