A miscalculation by the Arizona Department of Education lead to millions in misallocation. Now the state agency says it is fixing the funding fiasco.