Added in the code to address an edge case within my shadow ray collision detection function.