add a matrix demo