Added multiplyMatrixWithScalar().