Adding Mod routine which extends the '%' operator to support negative left arguments and subsequently fixing a bug in distributed QuasiDiagonalScale (right application).