Computer simulation of single-ion trajectories in paul-type ion traps