Attempt to work out orientation.