Updated binary_matrix_utilities.rb