Fixed orientation flipping bug

Changed the corners being used to compute x and y axes. Now consistent with estimate if depth information is not useful.