Update Grade.py

Grades based on metric from ideal template