MPS accounting errors could cost district up to $50 million in state aid