Mod that handles negatives
Merge pull request #1 from shama/mod

Mod that handles negatives