Update TeamCalculator for compatibility with Team and Player objects