School districts to receive funding based on new formula