examples of matrices word problems