Application of Matrix