Added dimension checks to SerialDenseMatrixUtility::multiply.