Function that subtracts a constant scalar from a matrix.
Loads the "-=" operator. Scalar a is subtracted from all matrix entries of A by A -= a