Fix typo and remove unnecessary import in calculate_tables.py