Refactored several parts of Raytracer and it's test. render function and collision function now follows better guidelines, and has increased speed. Will be doing the same for calculateColor