Correlation of structural distortion with magnetic properties of Pr-YIG system