Classes for calculating a position's performance