Added initial team rating calculation