updated grade.penalty.R with comments, etc.