fixed bug setting particle orientations from python interface