Added parameter to select integrator for Tupan
updated text io to write out the particles in blocks