Updated the rangeContainsValueModulo... function to use absolute values ...

fixes #32
modulus algorithms often break with negative numbers