Applications of Matrices