Use Matrix#row_size and #column_size instead of -count.
Added rubysl-matrix to Gemfile.