cleanup of algorithm stuff, court matches now hold team information
Merge branch 'tlei-devel'