Exchange and dipolar interactions in PrVO4: Gd