Fixing WritePoleFigure