WIP matrixbase: put_common_factor_in_front method

If there is already sth built into sympy which puts a common factor in front of a matrix then please close this PR.