fixed a few bugs, all tests for the _orbit_list function succeed so far