Spin reorientation transition in Gd4Co3