Optimizing Team Performance with Sports Analytics