Raytracing algorithm is now finished! (still needs some documenting)