AMATH 106 AP Score waving logic added.