improved performance of UMat::dot