restore multiply a matrix by a scalar