Solved minor problem in matrix set find method