python3 fix for PlotDihedrals.py