Magnetic properties of Gd@C82 metallofullerene