Grades stop falling after discipline gets to 20. Discipline will stop falling after you train the English teacher in the evenings at her apartment. Follow the instructions in the quest log. If you really can't figure it out there is always the cheat menu.