orientation_sweep analysis and run_orientation_sweep work fine now