Fix the migration of Vector.Dot

MAGN-3498