fixed bugs with signed zeros getting into bounced rays, and with setting new directions on rays when bouncing. still a collision problem on the borders of boxes