Almost working raytracing
Experimenting with flipping the sign for an optimisation
Working & optimised raycasting
Refactored to separate rendering from raycasting