many refactorings in light transport code in preparation for the implementation of more advanced algorithms.
update test suite reference images.