some changes in grep & mat2matrix ,and add two new files