Removed the two old Ruby files

gen_dist_matrix.rb combines the logic that was in the two older files
(gen_history_matrix.rb and gen_pref_matrix.rb), so I removed those
since they were just clutter.