Fixed dividing by a negative
Merge pull request #80 from dvorakk/patch-51

Fixed dividing by a negative