matrixbase: put common factor in front method