Magnetic study of R3Fe29−xMx, with R Y,Gd and M V,Ti