Author ' s personal copy Detecting irregular orbits in gravitational N-body simulations