add SUMQ and SUMS
Merge pull request #6 from zhuyutong/master

Sum Q and Sum S added