School district cuts popular math program.