Calculate the product of a scalar quantity and a matrix.
Calculate product of scalar quantity and a matrix