Weights must sum to max_grade
fix restored partial grade calculation
weights range from 0..max_grade
Merge pull request #102 from divined2004/master

Weights range from 1 to max_grade now