Updated teacup to newest version.

This means I can get rid of the relative size calculation code, as that is now part of teacup.