The code for programs used in obtaining the simulation results in the paper H. Suhonen et al. Phys. Med. Biol 50 (2005), 5401-5416.