Replaced tabs with spaces; fixed errors in gen_results_table method