California schools lost over $2.2 million in state funding over two years because some students did not have all the vaccinations required by law.