Rules of matrix operation and problems