Merge pull request #106 from sambohler/master

Removed call by reference