Move formation error calculation to coach class