add sum method
test sum method
update docs: API
added type checking step
Merge pull request #1 from lesmutai/math

Variadic sum method