Orbit classification in arbitrary 2D and 3D potentials | Synapse