Function that overloads the /= operator between scalars and matrices.
Loads the "/=" operator. Matrix A is divided by a scalar f using A /= f