Corrected bug in get_orientation