Fixed a bug caused by conflicting definitions of sum()
Merge pull request #17 from peastman/master

Bug fix to Modeller