Moved orient utilities to cube_utils