Adding documentation to binary_matrix.rb