Fixed ray and line segment intersection check

The new function which checks the intersection between a ray and line
segment is now fixed. Additionally, I made intersections within an
obstructable only return the closest one to the ray origin.
Minor change to add rays to window obstructable

Changed ray intersection calculating order to allow for the addition of
rays to the window corners