Behavior of light rays through a lens