Fixed modulo to act as the C++ platform for negative numbers ( Knuth floored division ).