determining the orientation of the optical code with respect to the reader and correcting therefore