Minor changes in matrices