some writing and added functionality to write number of particles in spine heads to file. To investigate stuff from article