Fix typos in lib/matrix.rb [ci skip]