Update team_stats.py

Added comments; normalized function names