change formula calculating attendance
Merge pull request #45 from jhe012/master

change formula calculating attendance