two updates

accounted for the case where the same shell is hit again (n2 ==
currentN); replaced yVsRefraction with a Riffle of y and
totalRefraction- probably boosts speed