Cayley-Hamilton Theorem for Matrices