changed the accuracy to comparing to where it's supposed to be. added
intersection with lens surface at the end of the steps.