fix subject_average
Merge pull request #5 from JamesS237/master

merge subject_average division by nil error fix