Revised sum_series function
Merge pull request #38 from rivese/master

Revised sum_series function