Finding Mod of a Negative Number