added a middle function poke to speed things up, gonna next try and make a new type of ray-in-lens