Magnetic properties of nanocrystalline Gd and W/Gd