quick note on calcuting the position angles from the simulation output.