Analysis code for Nbody6 output