added recording of iords for disk and halo particles.
added render function that makes a 3 color image based on magnitudes